﻿using AutoMapper;
using BCDto.Sim.StaffNotification;
using BCEntity.Sim.StaffNotification;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.MapperProfiles.Sim.StaffNotification
{
    public class StaffNotificationProfile : Profile
    {
        public StaffNotificationProfile()
        {
            //员工通知信息
            CreateMap<StaffNotificationDto, StaffNotificationEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<StaffNotificationRequestDto, StaffNotificationPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<StaffNotificationRequestDto, StaffNotificationEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<StaffNotificationPutDto, StaffNotificationEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<StaffNotificationEntity, StaffNotificationDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

        }
    }
}
